//: C03:gotoKeyword.cpp
// The infamous gotois supported in C++
#include <iostream>

int main(void)
{
	using namespace std;
	long val = 0;
	for(int i = 1; i < 1000; i++)
	{
		for(int j = 1; j < 100; j += 10)
		{
			val = i * j;
			if(val > 47000)
		    {
				goto bottom;
			}
		}
	}
	bottom:
    cout << val << '\n';
	return 0;
}

